<extend name="passwork/base"/>
<block name="center">
    <form action="">
    <table border="1" width="800px" id="form1">
        <caption style="text-align: center">交班对账表</caption>
        <tr>
            <th>交班人</th>
            <th colspan="3">
                <input type="hidden" value="{$uinfo.user_login}"/>
                {$uinfo.user_login}
            </th>
        </tr>
        <tr>
            <td>上班时间</td>
            <td colspan="3">
                <input type="hidden" value="{$uinfo.last_login_time|date='Y-m-d H:i',###}"/>
                {$uinfo.last_login_time|date="Y-m-d H:i",###}
            </td>
        </tr>
        <tr>
            <td>下班时间</td>
            <td colspan="3">
                <input type="hidden" value=" {:date('Y-m-d H:i:s',time())}"/>
                {:date('Y-m-d H:i:s',time())}
            </td>
        </tr>
        <!-- <tr>
            <td>交班备注</td>
            <td colspan="3">今天辛苦工作</td>
        </tr> -->
        <tr>
            <td>订单ID</td>
            <td>销售金额</td>
            <td>实收金额</td>
            <td>时间</td>
        </tr>
        <foreach name="order" item="vo">
            <tr>
                <td>{$vo.orderNo}</td>
                <td>{$vo.totalMoney}</td>
                <td>{$vo.actualMoney}</td>
                <td>{$vo.ctime|time_format}</td>
            </tr>
        </foreach>
        <tr>
            <td>合计:</td>
            <td>￥{$total_money}</td>
            <td>￥{$actualMoney}</td>
            <td>单：{$count}</td>
        </tr>     
    </table>
    </form>
    </block>
